package com.heima.wemedia.service;

import com.heima.model.common.dtos.admin.AdminWmNewsDto;
import com.heima.model.common.dtos.admin.AuthDto;
import com.heima.model.common.dtos.common.ResponseResult;
import com.heima.model.common.dtos.wemedia.NewsUpOrDownDto;
import com.heima.model.common.dtos.wemedia.WmNewsDto;
import com.heima.model.common.dtos.wemedia.WmNewsPageReqDto;
import com.heima.model.wemedia.pojos.WmNews;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Fu319
* @description 针对表【wm_news(自媒体图文内容信息表)】的数据库操作Service
* @createDate 2025-04-02 16:36:41
*/
public interface WmNewsService extends IService<WmNews> {

    ResponseResult listNew(WmNewsPageReqDto reqDto);

    ResponseResult submit(WmNewsDto reqDto);

    ResponseResult show(Integer newsId);

    ResponseResult delNews(Integer newsId);

    ResponseResult downOrUp(NewsUpOrDownDto newsUpOrDownDto);

    ResponseResult listVo(AdminWmNewsDto reqDto);

    ResponseResult authFail(AuthDto authDto);

    ResponseResult authPass(AuthDto authDto);
}
